import http from '../service/http'

// get请求
//用户信息
export function getUserInfo() {
  return http.get('user/persistent/getUserInfo/undefined')
}
// 获取当前用户的作品视频信息
// 获取当前用户的动态视频信息
export function getMyVideoAPI(userId) {
  return http.get(`user/${userId}/Videos/page/1`)
}
// 获取当前用户的喜欢视频信息
export function getMyVideo1API(userId) {
  return http.get(`user/${userId}/Likes/page/1`)
}
// 获取当前用户的作品数量
export function getMyVideoNumAPI(userId) {
  return http.get(`user/${userId}/VideosNum`)
}
// 获取当前用户的喜欢数量
export function getMyLikesNumAPI(userId) {
  return http.get(`user/${userId}/LikesNum`)
}
//关注的数量
export function getMyCareNumAPI(userId) {
  return http.get(`user/${userId}/FollowersNum`)
}
//粉丝的数量
export function getMyFansNumAPI(userId) {
  return http.get(`user/${userId}/FansNum`)
}
//获赞的数量
export function getMybeLikesNumAPI(userId) {
  return http.get(`user/${userId}/byLikesNum`)
}